xml.instruct! :xml, :version=>"1.0"
xml.rss(:version=>"2.0") {
  xml.channel {
    xml.title("#{@current_user.display}'s FlawMill feed")
    xml.link(FLAWMILL_URL)
    xml.description("#{@owned_issues.size} recently assigned issues")
    xml.language('en-us')
      @owned_issues.each do |issue|
        xml.item do
          xml.title(h issue.summary)
          xml.description(wiki issue.details)
          xml.author(issue.submitter.display)
          xml.pubDate(issue.created_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
          xml.link(issue_url( issue.project.name, issue.local_id ))
        end
      end
   }
}
